Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Ruby 2.0 will return false for respond_to? on protected methods #297

Merged
merged 1 commit into from
Feb 20, 2012

Conversation

tenderlove
Copy link
Contributor

Ruby 2.0 will return false for respond_to? on protected methods unless true is passed for the second argument.

https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/34580

@josh
Copy link
Contributor

josh commented Feb 20, 2012

Sweet, thanks!

josh added a commit that referenced this pull request Feb 20, 2012
Ruby 2.0 will return false for respond_to? on protected methods
@josh josh merged commit 142733b into sstephenson:master Feb 20, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants